package com.lexue.domain;

/**
 * Message entity. @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private Integer messageId;
	private TeacherInfo teacherInfo;
	private SysUser sysUser;
	private String sender;
	private String senderEmail;
	private String senderPhone;
	private String senderMphone;
	private String senderAddress;
	private String requireDetail;
	private Byte isRead;

	// Constructors

	/** default constructor */
	public Message() {
	}

	/** full constructor */
	public Message(TeacherInfo teacherInfo, SysUser sysUser, String sender,
			String senderEmail, String senderPhone, String senderMphone,
			String senderAddress, String requireDetail, Byte isRead) {
		this.teacherInfo = teacherInfo;
		this.sysUser = sysUser;
		this.sender = sender;
		this.senderEmail = senderEmail;
		this.senderPhone = senderPhone;
		this.senderMphone = senderMphone;
		this.senderAddress = senderAddress;
		this.requireDetail = requireDetail;
		this.isRead = isRead;
	}

	// Property accessors

	public Integer getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public TeacherInfo getTeacherInfo() {
		return this.teacherInfo;
	}

	public void setTeacherInfo(TeacherInfo teacherInfo) {
		this.teacherInfo = teacherInfo;
	}

	public SysUser getSysUser() {
		return this.sysUser;
	}

	public void setSysUser(SysUser sysUser) {
		this.sysUser = sysUser;
	}

	public String getSender() {
		return this.sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getSenderEmail() {
		return this.senderEmail;
	}

	public void setSenderEmail(String senderEmail) {
		this.senderEmail = senderEmail;
	}

	public String getSenderPhone() {
		return this.senderPhone;
	}

	public void setSenderPhone(String senderPhone) {
		this.senderPhone = senderPhone;
	}

	public String getSenderMphone() {
		return this.senderMphone;
	}

	public void setSenderMphone(String senderMphone) {
		this.senderMphone = senderMphone;
	}

	public String getSenderAddress() {
		return this.senderAddress;
	}

	public void setSenderAddress(String senderAddress) {
		this.senderAddress = senderAddress;
	}

	public String getRequireDetail() {
		return this.requireDetail;
	}

	public void setRequireDetail(String requireDetail) {
		this.requireDetail = requireDetail;
	}

	public Byte getIsRead() {
		return this.isRead;
	}

	public void setIsRead(Byte isRead) {
		this.isRead = isRead;
	}

}